home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Developer Toolbox 6.1
/
SGI Developer Toolbox 6.1 - Disc 1.iso
/
toolbox
/
src
/
exampleCode
/
opengl
/
GLUT
/
progs
/
demos
/
atlantis
/
Makefile.sgi
< prev
next >
Wrap
Makefile
|
1996-11-11
|
675b
|
36 lines
#! smake
#
# $Revision: 1.1 $
# $Date: 1996/02/28 03:22:21 $
#
include $(ROOT)/usr/include/make/commondefs
TOP = ../../..
LN = ln -s
MV = mv
RM = -rm -rf
TARGETS = atlantis
GLUT = $(TOP)/lib/glut/libglut.a
LLDLIBS = $(GLUT) -lGLU -lGL -lXmu -lXi -lXext -lX11 -lm
SRCS = swim.c atlantis.c whale.c dolphin.c shark.c
HDRS = atlantis.h
OBJS = $(SRCS:.c=.o)
LCOPTS = -fullwarn -wlint,-f -woff 813,852,827,826,819 -I$(TOP)
LDIRT = *~ mjkimage.c *.bak *.pure
default : $(TARGETS)
atlantis : atlantis.o whale.o dolphin.o shark.o swim.o
$(RM) $@
$(CC) -o $@ $(CFLAGS) atlantis.o whale.o dolphin.o shark.o swim.o $(LDLIBS)
./atlantis.h : atlantis.h
include $(COMMONRULES)